//
//  Service+SPOrder.h
//  BaseProject
//
//  Created by Sailer Guo on 2019/12/17.
//  Copyright © 2019 Beijing Shopin Retail Development Co., Ltd. All rights reserved.
//

#import "HTTPService.h"
#import <ReactiveObjC.h>
#import "Environment.h"
#import "SPPayService.h"

NS_ASSUME_NONNULL_BEGIN

@interface HTTPService (SPOrder)

- (RACSignal *)selectOrderListByParamToWeChatType:(NSString *)type pageNum:(NSInteger)pageNum;

- (RACSignal *)selectRefundApplyByParamToWeChat:(NSInteger)pageNum;

- (RACSignal *)getSignData:(NSString *)orderNo payType:(SPPayType)type;

- (RACSignal *)checkOrder:(NSString *)orderNo payType:(SPPayType)payType;

/*
 @param flag: = 0删除订单
 */
- (RACSignal *)modifyOrder:(NSString *)orderNo flag:(NSNumber *)flag;


@end

NS_ASSUME_NONNULL_END
